package com.example.demo.entity;

import lombok.Data;

import java.util.Date;

@Data
public class GenealogyPerson {
    private Long personId;
    private Long genealogyId;
    private Long userId;
    private String name;
    private Integer gender;
    private Date birthDate;
    private Date deathDate;
    private String avatar;

    @Override
    public String toString() {
        return "GenealogyPerson{" +
                "personId=" + personId +
                ", genealogyId=" + genealogyId +
                ", userId=" + userId +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", birthDate=" + birthDate +
                ", deathDate=" + deathDate +
                ", avatar='" + avatar + '\'' +
                '}';
    }
}